Create a new business
POST /api/v1/businesses
Description
Create a new business entity.
URL:
-
Raw URL:
/api/v1/businesses -
Host:
-
Path:
/api/v1/businesses
Request Headers:
- Content-Type: application/json
Response:
- Status: Created (201)
/api/v1/businesses
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Body (raw)
{
"userId": "<string>",
"type": "SABI_AGENT",
"category": "REGISTERED_BUSINESS",
"name": "<string>",
"email": "<string>",
"aboutMe": "<string>",
"website": "<string>",
"phone": "<string>",
"photo": "<string>",
"source": "AGENT",
"actionBy": "<string>"
}
🔑 Authentication bearer
| Param | value | Type |
|---|---|---|
| token | bearerToken | string |
Response: 201
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v1/businesses \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!